﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace EnvironmentalMonitor.WebApplication.Manage.Menu
{
    /// <summary>
    /// 列表页面类
    /// </summary>
    public partial class List : EnvironmentalMonitor.WebApplication.Abstract.AbstractList
    {
        public override string Description
        {
            get
            {
                return "菜单";
            }
        }

        public override string ListJsonUrl
        {
            get
            {
                return string.Format("{0}Manage/Menu/ListJson.aspx", EnvironmentalMonitor.Support.Resource.Variable.VirtualRootPath);
            }
        }

        public override string SaveJsonUrl
        {
            get
            {
                return string.Format("{0}Manage/Menu/SaveJson.aspx", EnvironmentalMonitor.Support.Resource.Variable.VirtualRootPath);
            }
        }

        public override string DeleteJsonUrl
        {
            get
            {
                return string.Format("{0}Manage/Menu/DeleteJson.aspx", EnvironmentalMonitor.Support.Resource.Variable.VirtualRootPath);
            }
        }

        public string CatalogComboboxJsonUrl
        {
            get
            {
                return string.Format("{0}Manage/Catalog/ComboboxJson.aspx", EnvironmentalMonitor.Support.Resource.Variable.VirtualRootPath);
            }
        }

        /// <summary>
        /// 同步Json数据Url
        /// </summary>
        public string SyncJsonUrl
        {
            get
            {
                return string.Format("{0}Manage/Menu/SyncJson.aspx", EnvironmentalMonitor.Support.Resource.Variable.VirtualRootPath);
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}